package com.ruxiaoxin.share.persist.user;

import com.ruxiaoxin.share.domain.user.User;

/**
 * @author ajian
 * @date: 2012-9-23
 */

public interface UserRepository {
	User getByEmail(String email);

	/**
	 * 增删查改
	 * 
	 * @param id
	 * @return
	 */
	void save(User entity);

	void delete(User entity);

	User get(String id);

	void update(User entity);
}
